﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_Comment_AddHuiFu : System.Web.UI.Page
{
    public int HFID
    {
        get { return Convert.ToInt32(ViewState["_ID"]); }
        set { ViewState["_ID"] = value; }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            HFID = DongDong.Common.Misc.GetQueryStringAsInt("ID");
            GetMessage();
        }
    }
    public void GetMessage()
    {
        //Comment objCom = Comment.Get(ID);
        //if (objCom != null)
        //{
        //    int ProductID = objCom.RelationID;
        //    int UserID = objCom.UserID;
        //    Product objPro = Product.Get(ProductID);
        //    if (objPro != null)
        //    {
        //        labMingCheng.Text = objPro.Title ?? "";
        //    }
        //    Client objClient = Client.Get(UserID);
        //    if (objClient != null)
        //    {
        //        LabUserName.Text = objClient.Username ?? "";
        //    }

        //    LabTime.Text = objCom.AddTime.ToString();
        //    litPingLun.Text = objCom.Message;
        //}
    }
    protected void Submit_Click(object sender, EventArgs e)
    {
        //Comment objCom = Comment.Get(ID);
        //if (objCom != null)
        //{
        //    objCom.Answer = txtHuiFu.Text;
        //    objCom.Update();
        //}
    }
}